CodeConfig\EAW\Utils\Helpers D

Total Complexity 168
Dependencies 2
Dependents 23
Total lines 1,068
Lines of code 752
Logical lines of code 361
Comment lines 65
Methods 54
Properties 0

Methods 54

Method Rating Maintainability Complexity Lines of code
addProductAttribute()
A
38 12 70
restoreSavedCart()
A
43 9 51
getLanguageInfo()
A
49 10 32
getVariationByProductId()
A
47 8 35
setSaveCart()
A
51 8 26
getSettings()
A
55 8 20
getProductAttributes()
S
48 6 35
deleteProductAttribute()
S
50 6 29
copySavedCart()
S
53 6 21
getSocialShareUrl()
S
53 6 21
shareCartOnSocial()
S
54 6 20
getAllCategories()
S
56 4 18
sanitize_multi_select()
S
61 4 13
getCustomizerMenus()
S
60 4 13
getSavedCart()
S
62 4 11
sanitize_nested_array()
S
62 4 11
fetch_exchange_rate()
S
56 3 17
getProduct()
S
49 2 31
getMenus()
S
59 3 15
deleteSavedCart()
S
61 3 12
getViewedProducts()
S
61 3 11
deleteViewedProducts()
S
60 3 11
getAllProducts()
S
57 2 18
checkPluginRequirements()
S
66 3 8
generateSharedCartLink()
S
65 3 8
sanitization()
S
65 3 9
eawSanitizeFields()
S
67 3 7
getSelectedVariationImg()
S
59 2 14
getAllProductsByTitle()
S
62 2 12
getCategories()
S
59 1 16
getProductVariations()
S
59 1 16
setWishlist()
S
65 2 9
arrayMapRecursive()
S
69 2 6
convert_currency()
S
68 2 6
getRoles()
S
61 1 14
deactivateAndNotify()
S
61 1 13
getProductSkus()
S
61 1 13
getVersion()
S
81 1 3
getPluginName()
S
81 1 3
getPluginSlug()
S
81 1 3
getPluginFile()
S
81 1 3
getPluginPath()
S
81 1 3
getPluginUrl()
S
81 1 3
getPluginTextDomain()
S
81 1 3
getPluginTextDomainPath()
S
78 1 3
getInstalledVersion()
S
80 1 3
getInstallTime()
S
80 1 3
getSetting()
S
75 1 4
updateSettings()
S
79 1 3
getWishlist()
S
72 1 5
getCategory()
S
75 1 4
setToCart()
S
72 1 5
getTabs()
S
74 1 6
getCurrency()
S
78 1 3